home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
icons+tools
/
iconian
/
sources
/
emodules
/
mod
/
oolibraries.e
< prev
next >
Wrap
Text File
|
1995-12-22
|
358b
|
21 lines
OPT MODULE
EXPORT OBJECT library
baseptr:LONG
ENDOBJECT
EXPORT PROC base() OF library IS self.baseptr
EXPORT PROC new(name,ver=39) OF library
DEF base=0
base:=OpenLibrary(name,ver)
IF (base<>0)
self.baseptr:=base
ELSE
Raise("LIB")
ENDIF
ENDPROC self.base()
EXPORT PROC end() OF library
IF (self.baseptr) THEN CloseLibrary(self.baseptr)
ENDPROC